﻿//
// Created by Administrator on 2020/8/21.
//

#include "Stack.h"
#include <iostream>

int main() {

    using namespace std;

    Stack stack;

    cout << "IsFull:" << stack.isFull() << ", IsEmpty：" << stack.isEmpty() << endl;

    stack.push(10);
    stack.push(20);

    cout << "IsFull:" << stack.isFull() << ", IsEmpty：" << stack.isEmpty() << endl;

    cout << stack.pop() << endl;
    cout << stack.pop() << endl;

    cout << "IsFull:" << stack.isFull() << ", IsEmpty：" << stack.isEmpty() << endl;

    Stack stackArr[2] = {
        Stack(99)
    };
}

